var express = require('express');
var router = express.Router();
var user = require('../Controllers/userController')

/* GET users listing. */
router.post('/sendCode', user.sendCode)
router.post('/codeLogin', user.codeLogin)

router.get('/', function (req, res, next) {
  res.send('respond with a resource');
});

module.exports = router;